package com.khoinguyen.feedtweet.dao;

import org.apache.ibatis.session.SqlSession;

import com.khoinguyen.feedtweet.model.TwitterConfig;

public class TwitterConfigurationDao extends Dao {
	public static TwitterConfig getTwitterConfig() {
		SqlSession session = sqlSessionFactory.openSession();
		TwitterConfig config = session.selectOne("getTwitterConfiguration");
		session.close();
		return config;
	}
}
